﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="S_OperSaleReport.aspx.cs" Inherits="JTicket.UI.S_OperSaleReport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" cellpadding="4" cellspacing="1" border="1" width="100%" class="toptable grid fixed">
        <tr>
            <td height="25" class="category t2" style="width: 10%">
                售票员销售报表
            </td>
            <td style="height: 25px" class="category ">
                类别：
                <asp:DropDownList ID="DropDownList1" runat="server" Width="150px">
                </asp:DropDownList>
                演出时间：<asp:TextBox ID="TextBox1" runat="server" Width="150px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>至<asp:TextBox
                    ID="TextBox2" runat="server" Width="150px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>&nbsp;
                <asp:Button ID="Button1" runat="server" class="submitMiniGreen" OnClick="Button1_Click"
                    onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" Text="查询演出" 
                    Width="106px" />
            </td>
        </tr>
    </table>
    <table width="100%" border="0" bordercolordark="#3890B5" bordercolorlight="#6591BE"
        align="center" cellpadding="1" cellspacing="1" style="color: #1a438e">
        <tr>
            <td align="center" bgcolor="#3890B5" style="height: 27px; text-align: left">
                <span class="B"><strong>搜索到的剧目列表</strong></span></td>
        </tr>
          
        <tr>
            <td bgcolor="#f6f6f6" align="center" style="height: 179px; text-align: left; vertical-align: top;">
                
              <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; text-align: left">
                    <tr  >
                        <td align="center" bgcolor="#e7e7e7" style=" color: #000000; text-align: left">
                            &nbsp;<input id="chkall" onclick="CheckAll(this.form)" style="border-right: 0px;
                                border-top: 0px; border-left: 0px; border-bottom: 0px" type="checkbox" checked="checked" />全选
                        </td>
                        <td align="center" bgcolor="#e7e7e7" style="width:900px; color: #000000; text-align: left">
                            统计期间：<asp:TextBox ID="TextBox3" runat="server" Width="150px" 
                                onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>至<asp:TextBox
                    ID="TextBox4" runat="server" Width="150px" 
                                onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                            <asp:Button ID="Button3" runat="server" class="submitMiniGreen" Height="34px" OnClick="Button3_Click"
                                onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" Text="剧目销售报表" Width="214px" />
                            <asp:Button ID="Button2" runat="server" class="submitMiniGreen" Height="34px" OnClick="Button2_Click"
                                onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" Text="剧目汇总报表" Width="214px" />
                        </td>
                    </tr>
                </table>
                <asp:DataGrid ID="dg1" runat="server" AutoGenerateColumns="False" CellPadding="0"
                    OnItemDataBound="dg1_ItemDataBound" PageSize="20" Width="100%">
                    <PagerStyle Visible="False" />
                    <ItemStyle BackColor="#F6F6F6" Height="25px" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#3890B5" Height="25px" HorizontalAlign="Center" />
                    <Columns>
                        <asp:TemplateColumn HeaderText="全选">
                            <ItemTemplate>
                                <input id="YX_CH" name="YX_CH" style="border: 0" type="checkbox" checked="checked"
                                    value='<%#DataBinder.Eval(Container.DataItem,"StitleCode")%>' />
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="类别">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "stitlesort")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="项目名称">
                            <ItemTemplate>
                                <%--<a href='PerReport.aspx?YX_OrderFormID=<%# DataBinder.Eval(Container.DataItem,"StitleCode") %>'></a>--%>
                                    <%# DataBinder.Eval(Container.DataItem, "Stitlename")%>
                                
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="演出方公司名称">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "steam")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="联系人">
                            <ItemTemplate>
                                无
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="联系电话">
                            <ItemTemplate>
                                无
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="开始时间">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "begindate")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="结束时间">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "enddate")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                    </Columns>
                </asp:DataGrid>
                
            </td>
        </tr>
        <tr>
            <td align="center" bgcolor="#F6F6F6">
                &nbsp;&nbsp;
            </td>
        </tr>
    </table>
</asp:Content>
